<%--
  Created by IntelliJ IDEA.
  User: mercu
  Date: 2019/8/25
  Time: 20:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<%--<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>--%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<span style="color: red;">${msg}</span>
<form action="${ctx}/loginForm" method="post">
    用户名：<input name="myUserName" /> <br/>
    密码：<input type="password" name="myPwd" /> <br/>
    <input type="submit" value="提交" /> <br/>
    <input id="remember-me" name="remember-me" type="checkbox" value="true"/>记住我
    <%--<input type="hidden" name="${_csrf.parameterName }" value="${_csrf.token }"/>--%>
    <%--<sec:csrfInput/>--%>
</form>
</body>
</html>
